package edu.qichen.onlineBlog.comments.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.qichen.onlineBlog.comments.dto.*;
import edu.qichen.onlineBlog.comments.pojo.Comments;
import jakarta.servlet.http.HttpServletRequest;

public interface CommentsService extends IService<Comments> {
    PageCommentsRes<CommentsBlogsUserPageDto> queryLikes(PageCommentsReq pageLikesReq);

    Boolean deleteById(Integer id,HttpServletRequest request);

    Boolean addComment(AddCommentReq addCommentReq, HttpServletRequest request);

    PageCommentsRes<CommentsBlogsUserPageDto> queryUserLikes(PageUserCommentsReq pageUserCommentsReq);
}
